import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import componentsRouter from "./components.ts";
const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'index',
        component: () => import(/* webpackChunkName: "about" */ '../pages/main/index.vue')
    },
    componentsRouter,
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
